<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>瀑布屏</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <div class="title">投  屏</div>
        <div id="imageUploadContainer" class="image-upload-container">
            <label for="imageInput" class="upload-label">
                <div id="imagePreview" class="image-preview">
                    <input type="file" id="imageInput" accept="image/*" class="hidden">
                    <div class="upload-overlay"></div>
                    <div class="upload-text">点击上传图片</div>
                </div>
            </label>
        </div>
        <input type="text" id="nameInput" class="input-field" placeholder="输入你的名字">
        <button onclick="uploadImage()" class="upload-btn">上传</button>
        <div class="prompt">请文明用语，上传文明图片，共同营造和谐社区。</div>
    </div>
    <script src="script.js"></script>
</body>
</html>
